From: Jasper St. Pierre Date: Fri, 30 Jan 2015 16:35:46 +0000 (-0500) Subject: shell-app: Only raise windows on the same workspace when activating them X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~1878 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=086fcd4a32;p=gnome-shell.git shell-app: Only raise windows on the same workspace when activating them For some reason, we never did this, even though this is what the comment says we should be doing. --- diff --git a/src/shell-app.c b/src/shell-app.c index 94b295171..60be10042 100644 --- a/src/shell-app.c +++ b/src/shell-app.c @@ -582,7 +582,7 @@ shell_app_activate_window (ShellApp *app, { MetaWindow *other_window = iter->data; - if (other_window != window) + if (other_window != window && meta_window_get_workspace (other_window) == workspace) meta_window_raise (other_window); } g_slist_free (windows_reversed);